Skip to content

Conversation

vnarapar
Copy link
Contributor

Refactored shmbridge test to validate the upstream qcm drivers and check the driver initialisation

@vnarapar vnarapar requested a review from smuppand October 14, 2025 06:58
Refactored shmbridge test to validate the upstream qcm drivers and
check the driver initialisation

Signed-off-by: Vamsee Narapareddi <[email protected]>

log_info "Checking kernel config for QCOM_SCM support..."
if ! check_kernel_config "CONFIG_QCOM_SCM"; then
log_fail "$TESTNAME : CONFIG_QCOM_SCM not enabled, test failed"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the config is not enabled, can't we skip it instead of failing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per tech team this is a mandatory config enforced to be enabled by upstream community

Copy link
Contributor

@smuppand smuppand Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In both cases, the log_* information is available because the necessary configuration is not enabled.

echo "$TESTNAME PASS" > "$res_file"
log_info "Scanning dmesg logs for qcom_scm initialization"

if dmesg | grep -q 'qcom_scm'; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants